<%@page import="model.*"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
    String m = (((String ) request.getAttribute("m"))!=null)?((String ) request.getAttribute("m")) :((String ) request.getParameter("m")) ;
    String r = (((String ) request.getAttribute("r"))!=null)?((String ) request.getAttribute("r")) :((String ) request.getParameter("r")) ;
    String rd=null;
    m = (m==null)? "mg_default":m;
   	r = (r==null)? "a":r; 
    Message message = new Message();
    Message mg = (message.getMgByName(m)!=null)?message.getMgByName(m):message.getMgByName("mg_default");
  
    rd = message.reDirect(r); 
    
    User u = new User();
    %>
	<title>MYFILM - <%=mg.getM_title()%></title>
	<META HTTP-EQUIV="Refresh" CONTENT="2; URL=<%=rd%>">
    <jsp:include page="../include/header.jsp"></jsp:include>
    <jsp:include page="../include/slide-show.jsp"></jsp:include>
    <div id="content-container">
    <jsp:include page="../include/sidebar-admin.jsp"></jsp:include>
      <div id="content">
    	<p class='warning'><%=mg.getM_content()%></p>
 
      </div><!--end content-->
    <jsp:include page="../include/footer.jsp"></jsp:include>  